<?php
require_once('../../connection/_dbconnect_.php');

function addLogEntry($date,$message){
	
	$sql = "insert into activity_log values (NULL, '".$date."', '".$message."');";
	
	$result = mysql_query($sql) or die("Query: $sql \n\n".mysql_error());
	
	if (!$result) {
		return false;
	} else
		return true;
}

?>